validation file type laravel

50

validation file type laravel -

$request->validate([
  'file' => 'required|mimes:png,jpg,jpeg,csv,txt,xlx,xls,pdf|max:2048'
]);

Comments

Submit
0 Comments